package com.zx.retrofit2andRxJava2.model;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

import java.io.Serializable;

/**
 * Created by zhoux on 2017/3/15.
 * 注释：
 */
@JsonIgnoreProperties(ignoreUnknown = true)//可忽略多余字段
public class Order implements Serializable {

    /**
     * id : 1
     * name : 小明
     * num : 测试内容o5q0
     * price : 100
     */

    private String id;
    private String name;
    private String num;
    private int price;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }
}
